package com.stack;

public class LikedStackTest {
    public static void main(String[] args) {
        Stack<String> stack = new LinkedStack<>();
        stack.push("34");
        stack.push("45");
        System.out.println(stack.getSize());
        System.out.println(stack.peek());
        System.out.printf(stack.pop());
        System.out.printf(stack.pop());
        System.out.println(stack.isEmpty());
    }
}
